import Fly from 'flyio/dist/npm/wx'
const http=new Fly()

//设置超时
http.config.timeout=60000;
//设置请求基地址
http.config.baseURL="https://www.uinav.com/api/public/v1"

http.interceptors.request.use((request)=>{
    return request;
})
 
http.interceptors.response.use(
    (response) => {
        return response.data
    },
    (err) => {

    }
)

export default http